<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Fortune:<sitemesh:write property='title'/></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />

<!--                       CSS                       -->
		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="${ctx}/static/css/reset.css" type="text/css" media="screen" />
	  
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="${ctx}/static/css/style.css" type="text/css" media="screen" />
		
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="${ctx}/static/css/invalid.css" type="text/css" media="screen" />	
		
		<link rel="stylesheet" href="${ctx}/static/css/blue.css" type="text/css" media="screen" />
		
		<!-- Internet Explorer Fixes Stylesheet -->
		
		<!--                       Javascripts                       -->
		<!-- jQuery -->
		<script type="text/javascript" src="${ctx}/static/scripts/jquery.min.js"></script>
		
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="${ctx}/static/scripts/simpla.jquery.configuration.js"></script>
		
		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="${ctx}/static/scripts/facebox.js"></script>
		
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="${ctx}/static/scripts/jquery.wysiwyg.js"></script>
		
<sitemesh:write property='head' />
</head>

<body>

<div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		
		<div id="sidebar"><div id="sidebar-wrapper"> <!-- Sidebar with logo and menu -->
			
			<h1 id="sidebar-title"><a href="#">Simpla Admin</a></h1>
		  
			<!-- Logo (221px wide) -->
			<a href="#"><img id="logo" src="${ctx}/static/images/logo1.png" alt="Fortune Admin logo" /></a>
		  
			<!-- Sidebar Profile links -->
			<div id="profile-links">
				欢迎, <shiro:principal/>!<br />
				<br />
				<shiro:hasPermission name="/account/user/logout">
					<a href="${ctx}/account/user/logout" title="退出">退出</a>
				</shiro:hasPermission>
			</div>        
			
			<ul id="main-nav">  <!-- Accordion Menu -->
				
				<li> 
					<a href="#" class="nav-top-item"> <!-- Add the class "current" to current menu item -->
					客户管理
					</a>
					<ul>
						<li><a href="${ctx}/crm/list" >客户列表</a></li>
					</ul>
				</li>
				
				 
				<li>
					<a href="#" class="nav-top-item">
						系统设置
					</a>
					<ul>
						<li><a href="${ctx}/account/user/list">用户列表</a></li>
						<li><a href="${ctx}/account/user/modifyPassword1Form">修改密码1</a></li>
						<li><a href="${ctx}/account/user/modifyPassword2Form">修改密码2</a></li>
					</ul>
				</li>      
				
			</ul> <!-- End #main-nav -->
			
		</div></div> <!-- End #sidebar -->
		
		<div id="main-content"> <!-- Main Content Section with everything -->
			
			<noscript> <!-- Show a notification if the user has disabled javascript -->
				<div class="notification error png_bg">
					<div>
						Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
					Download From <a href="http://www.exet.tk">exet.tk</a></div>
				</div>
			</noscript>
			
			<!-- Page Head -->
			 
			
			<div class="clear"></div> <!-- End .clear -->
			
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>Content box</h3>
					
					<ul class="content-box-tabs">
						<li><a href="#tab1" class="default-tab">Table</a></li> <!-- href must be unique and match the id of target div -->
						 
					</ul>
					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
						 
						<sitemesh:write property='body' />
					</div> <!-- End #tab1 -->
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			 
			<div class="clear"></div>
			
			<div id="footer">
				<small> <!-- Remove this notice or replace it with whatever you want -->
						Copyright &copy; 2011-2012 <a href="http://www.zendaimoney.com">www.zendaimoney.com</a>
				</small>
			</div><!-- End #footer -->
			
		</div> <!-- End #main-content -->
		
	</div>	 
</body>
</html>